package com.tianlaiedu.dao;

import com.tianlaiedu.bean.Attention;

import java.util.List;

/**关注
 * @author:hejing
 * @date:2021/11/26
 */
public interface AttentionMapper {
    /**
     * 增加关注
     * @param attention
     * @return
     */
    public  boolean addAtten(Attention attention);

    /**
     * 查询某个id的关注列表
     * @param id
     * @return
     */
    public List<Attention> findByid(int id);
}
